package com.monitor.task.service;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * @ClassName MonitorTask
 * @Package com.monitor.task.service
 * @Description TODO
 * @Author zhixingbai
 * @Create 2018/10/1712:57
 */
@EnableScheduling

public abstract  class MonitorTask implements Job {


    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        taskWaring();
    }

    public  abstract void taskWaring();

}
